package chap4.Task;

public class Task16 {
    public static void main(String[] args) {
        int x = 1, y = 1, z = 1;
        while (x <= 93) {


            while (y <= 93) {
                z = 1;


                while (z <= 93) {
                    if ((x * y + z == 94) && (x + y * z == 95)) {
                        System.out.println("x=" + x + ",y=" + y + ",z=" + z);
                    }
                    z++;
                }



                y++;
            }


            ;
            x++;
            y = 1;
        }
    }
}
